package com.example.xd.myijkplayer.activity

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.example.xd.myijkplayer.R
import kotlinx.android.synthetic.main.activity_system_player.*
import tv.danmaku.ijk.media.exo.IjkExoMediaPlayer

class VideoViewActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_system_player)
        item_palyer.setIjkExoMediaPlayer(IjkExoMediaPlayer(this))
        item_palyer.setPath("http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4")
    }
}